import { request } from '@/utils/request'

export function notifyRecordList(params) {
	return request({
    url: '/voice/notify-record/page',
    headers: {
			isToken: true
		},
    method: 'GET',
    params
	})
}

export function getWalletData() {
	return request({
    url: '/queue/driver-account/get',
    headers: {
			isToken: true
		},
    method: 'GET'
	})
}

export function driverRecharge(params) {
	return request({
    url: '/voice/notify-record/recharge',
    headers: {
			isToken: true
		},
    method: 'GET',
    params
	})
}

export function closeRecharge(params) {
	return request({
    url: '/voice/notify-record/close-recharge',
    headers: {
			isToken: true
		},
    method: 'GET',
    params
	})
}